package com.bcbim.smart_water_interface.inspection.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

@Data
public class InspectionPositionDTO implements Serializable {

    private Integer start;

    private Integer pageNum;

    private Integer pageSize;

    private String nickname;

    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME, pattern = "yyyy-MM-dd")
    private LocalDate startInspectionDate;

    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME, pattern = "yyyy-MM-dd")
    private LocalDate endInspectionDate;

}

